<template>
  <div>
    <!-- 详情 -->
    <el-form :inline="true" :model="formInline" class="form-style">
      <el-row>
        <el-col>
          <el-form-item label="客服：" style="margin-left:30px">ABCCCC</el-form-item>
        </el-col>
      </el-row>
      <el-form-item style="margin:15px 0 15px 30px">
        <el-input placeholder="团长姓名" v-model="formInline.name"></el-input>
      </el-form-item>
      <el-form-item style="margin:15px 0 15px 30px">
        <el-input placeholder="团长手机号" v-model="formInline.phone"></el-input>
      </el-form-item>
      <el-form-item style="margin:15px 0 15px 30px">
        <el-button icon="el-icon-refresh" type="warning">重置</el-button>
        <el-button icon="el-icon-search" type="primary">查询</el-button>
      </el-form-item>
    </el-form>
    <div class="table-style">
        <el-table :data="tableData" border>
            <el-table-column label="编号"></el-table-column>
            <el-table-column label="姓名"></el-table-column>
            <el-table-column label="手机号码"></el-table-column>
            <el-table-column label="下级数"></el-table-column>
            <el-table-column label="分销员数"></el-table-column>
            <el-table-column label="状态"></el-table-column>
            <el-table-column label="申请时间"></el-table-column>
            <el-table-column label="操作">
                <template>
                    <el-button>取消分配</el-button>
                </template>
            </el-table-column>
        </el-table>
        <botpage
        class="botpage-style"
        :currentPage="currentPage"
        :pageSize="pageSize"
        :total="total"
        @handleCurrentChange="currentChange"
        @pageSizeChange="pageSizeChange"
      />
    </div>
  </div>
</template>

<script>
import Botpage from "@/components/botpage/Botpage";
export default {
    methods : {
        currentChange(val) {
            this.currentPage = val ;
        },
        pageSizeChange(val) {
            this.pageSize = val ;
        }
    },
  data() {
    return {
      formInline: {},
      tableData:[],
      currentPage:1,
      pageSize:10,
      total:1,
    };
  },
  components : {
      Botpage
  }
};
</script>

<style>
</style>